package com.order.service.impl;

import com.order.dao.OrderQueryDao;
import com.order.service.OrderService;
import entity.OrderEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author Daft_V
 * @Date 2022/5/15 16:20
 */
@Service
public class OrderServiceImpl implements OrderService {

    @Autowired
    private OrderQueryDao orderQueryDao;

    @Override
    public List<OrderEntity> queryOrderList() {
        return orderQueryDao.list();
    }
}
